#ifndef CANTILEVER_H
#define CANTILEVER_H

#include <Beam.h>


class Cantilever : public Beam
{
    public:

        //Construct a new cantilever beam using the beam length.  The support will always be on the end of the beam.
        Cantilever(int);
        virtual ~Cantilever();

        //Get the reaction at the beam support.  For this simple program this is assuming that the support is on the left hand side of the beam.  The only difference that this will make in the final result is the direction of the moment reaction.
        int GetReaction();
        int GetMoment();

        //Add the loads to the beam LoadValue and Load Location
        void AddLoads(int, int);

    protected:
    private:
        Cantilever();
};

#endif // CANTILEVER_H
